Fix calendar mobile responsiveness with adaptive height and grid layout#7946
Draft
Fix calendar mobile responsiveness with adaptive height and grid layout#7946
Conversation
Co-authored-by: DawoudIO <554959+DawoudIO@users.noreply.github.com>
Co-authored-by: DawoudIO <554959+DawoudIO@users.noreply.github.com>
Co-authored-by: DawoudIO <554959+DawoudIO@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix calendar functionality on mobile devices
Fix calendar mobile responsiveness with adaptive height and grid layout
Feb 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Calendar was non-functional on mobile devices due to fixed 600px height and desktop-only grid layout causing overflow and UI compression.
Changes
Calendar height strategy
height: 600withcontentHeight: "auto"(FullCalendar v6 responsive mode)windowResizeDelay: 200for orientation changesResponsive grid layout
Updated Bootstrap grid classes for proper breakpoints:
Layout behavior:
Mobile toolbar optimization
Viewport detection (
innerWidth < 768) splits toolbar across header/footer on mobile to prevent button crowding:Test coverage
Added
mobile.calendar.spec.jsvalidating mobile (375x812), tablet (768x1024), orientation changes, and event creation.Files Modified
src/skin/js/Calendar.js- Responsive configurationsrc/v2/templates/calendar/calendar.php- Grid breakpointscypress/e2e/ui/events/mobile.calendar.spec.js- Mobile test suite (new)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
download.cypress.io/usr/local/bin/node node dist/index.js --exec install(dns block)https://api.github.com/repos/Bacon/BaconQrCode/zipball/36a1cb2b81493fa5b82e50bf8068bf84d1542563/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/DASPRiD/Enum/zipball/b5874fa9ed0043116c72162ec7f4fb50e02e7cce/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/azuyalabs/yasumi/zipball/cc07874da062070fdc201a4297a7724f7d6aafb2/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/defuse/php-encryption/zipball/f53396c2d34225064647a05ca76c1da9d99e5828/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/drewm/mailchimp-api/zipball/c6cdfab4ca6ddbc3b260913470bd0a4a5cb84c7a/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)https://api.github.com/repos/php-http/discovery/zipball/82fe4c73ef3363caed49ff8dd1539ba06044910d/usr/bin/php8.3 /usr/bin/php8.3 -n -c /tmp/3zRS7o /usr/bin/composer install --no-dev(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.